require('@/oo')
require('@/common')
require('#/select/bootstrap-multiselect')

var data = [
    {
        id: 1,
        name: 'name'
    },
    {
        id: 2,
        name: 'name2'
    },
    {
        id: 3,
        name: 'name3'
    }

];

// debugger

SYS.Core.loadMultiselect({
    el: '#categorys',
    fieldLabel: 'name',
    fieldValue: 'id',
    data: data,
    callback: function (selectedValues) {
        console.log(selectedValues);
    }
});